import request from "../request/request";
// import axios from 'axios'
export function listUser(query) {
    return request({
        url: '/user/list',
        method: 'get',
        params: query
    })  
}

export function login(data){
    return request({
        url:'/api/login',
        method:'post',
        data:data
    })
}

export function getCaptcha(){
    return request({
        url:'/captcha',
        method:'get'
    })
}